@charset 'utf-8';
@import '../css/reset.css';

@function r($px){
    @return ($px / 100)*1rem;
}
@function half($px){
    @return ($px / 2)*1px;
}

header{
    position: fixed;
    width:100%;
    height: half(150);
    top: 0;
    // background:red;
    padding: half(17) half(23) half(19);
    .logo{
        width: half(123);
        height: half(123);
        font-size: 0;
        img{
            width: 100%;
            height: 100%;

        }
    }
    .cityBar{
        margin-top: half(30);
        width: half(157);
        height: half(54);
        border: 1px solid #ff9344;
        font-size: 0;
        select{
            padding-left: half(10);
            width: 100%;
            height: 100%;
            //去除默认样式
            -webkit-appearance: none;
            appearance: none;
            border: 0;
            background-image: url(../img/syimg/jiantou.png);
            background-repeat: no-repeat;
            background-position: right 5px center;
            background-size: 15px 7px;
            
        }
        option{
            width: 100%;
        }
    }
    .searchBar{
        margin: half(34) auto 0;
        // margin-left: r(70);
        width: r(264);
        height: half(50);
        border: 1px solid #ff9344;
        border-radius: half(50);
        font-size: 0;
        overflow: hidden;
        input[type='image']{
            width: half(37);
            height: half(35);
            height: 100%;
            vertical-align: middle;
        }
        input[type='text']{
           width: calc(100% - 28.5px);
           border:none;
           text-indent: 8px;
           height: 100%;
           vertical-align: middle;

        }
        #srk::-webkit-input-placeholder{
            color: #dcdcdc;
        }
    }

}

#main{
    position: fixed;
    width:100%;
    top: half(150);
    bottom: half(136);
    // background:skyblue;
    overflow-y: scroll;
    overflow-x: hidden;
    .shoushi{
        width: 100%;
        height:r(387);
        font-size: 0;
        img{
            width: 100%;
            height: 100%;
        }
    }
    .yhtg{
        display: flex;
        align-items: center;
        padding: r(20) r(24);
        div:first-of-type{
            width: 50%;
            display: flex;
                img{
                    width: r(75);
                    height: r(75);
                    margin-right: r(8);
                     }
                    p{
                        font-size: r(42);
                        line-height: r(75);
                    }
            
        }
        div:last-of-type{
            width: 50%;
                display: flex;
                align-items: center;
                justify-content: flex-end;
                p{
                font-size: r(30);
                }
                img{
                width: r(35);
                height: r(35);
                margin-left: r(8);
                }
        }
        
    }
    .youhui{
        
        ul{
            width: 100%;
            box-sizing: border-box;
            padding: 0 25px;
            text-align: center;
            li{
                width: 50%;
                img{
                    width: r(240);
                }
            }
        }
    }
    
    .zhy{
        width: 100%;
        padding-top: half(30);
        ul{
            font-size: 0;
            width: 100%;
            margin-bottom: half(30);
            li{
                width: 33%;
                img{
                    width: 100%;
                    height: 100%;
                   padding: 0 half(20);
                }
                h3{
                    font-size: r(40);
                    line-height: r(85);
                }
                p{
                    font-size: r(30);
                    color: #484848;
                    display: inline-block;
                }
                span{
                    font-size: r(35);
                    color: #fd9241;
                    line-height: r(65);
                }
                
               
            }
            li:last-of-type{
                width: 67%;
                padding-right: half(30);
                .juli{
                    line-height: r(85);
                }
            }
        } 
    }
}
footer{
    position: fixed;
    width:100%;
    height: half(136);
    bottom: 0;
    // background: blue;
    ul{
        width: 100%;
        height: 100%;
        font-size: 0;
        li{
            height: 100%;
            width: 25%;
            text-align: center;
            font-size: half(30);
            img{
                width: half(70);
                height: half(70);
                padding-top: half(10);
            }
        }
    }
}